package com.entity;

import org.apache.ibatis.type.Alias;

@Alias("BaseProduct")
public class Product extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 发布人
	 */
	private String publisher;

	/**
	 * 图片
	 */
	private String cover;
	
	/**
	 * 标题
	 */
	private String title;

	/**
	 * 时限（贷款/融资）
	 */
	private String deadline;
	
	/**
	 * 公司规模
	 */
	private String size;
	
	/**
	 * 融资周期
	 */
	private String period;
	
	/**
	 * 联系部门
	 */
	private String department;
	
	/**
	 * 产品金额
	 */
	private Integer money;

	/**
	 * 简介
	 */
	private String intro;
	
	/**
	 * 条件
	 */
	private String condition;

	/**
	 * 流程
	 */
	private String procedure;

	/**
	 * 联系电话
	 */
	private String number;

	/**
	 * 产品分类
	 */
	private String productType;
	
	/**
	 * 产品状态
	 */
	private Integer productState;

	/**
	 * 审核次数
	 */
	private Integer reviewTimes;

	/**
	 * 审核时间（字符串类型的多时间）
	 */
	private String reviewDate;

	/**
	 * 驳回原因
	 */
	private String rejectReason;

	/**
	 * 产品发布时间
	 */
	private String publishTime;


	public Product () {
		super();
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getMoney() {
		return money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	public String getPublisher() {
		return this.publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDeadline() {
		return this.deadline;
	}

	public void setDeadline(String deadline) {
		this.deadline = deadline;
	}

	public String getCondition() {
		return this.condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public String getProcedure() {
		return this.procedure;
	}

	public void setProcedure(String procedure) {
		this.procedure = procedure;
	}


	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getPeriod() {
		return period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Integer getProductState() {
		return this.productState;
	}

	public void setProductState(Integer productState) {
		this.productState = productState;
	}

	public Integer getReviewTimes() {
		return this.reviewTimes;
	}

	public void setReviewTimes(Integer reviewTimes) {
		this.reviewTimes = reviewTimes;
	}

	public String getReviewDate() {
		return this.reviewDate;
	}

	public void setReviewDate(String reviewDate) {
		this.reviewDate = reviewDate;
	}

	public String getRejectReason() {
		return this.rejectReason;
	}

	public void setRejectReason(String rejectReason) {
		this.rejectReason = rejectReason;
	}

	public String getPublishTime() {
		return this.publishTime;
	}

	public void setPublishTime(String publishTime) {
		this.publishTime = publishTime;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getProductType() {
		return productType;
	}

	public void setProductType(String productType) {
		this.productType = productType;
	}

	@Override
	public String toString() {
		return "Product [id=" + id + ", publisher=" + publisher + ", cover="
				+ cover + ", title=" + title + ", deadline=" + deadline
				+ ", size=" + size + ", period=" + period + ", department="
				+ department + ", money=" + money + ", intro=" + intro
				+ ", condition=" + condition + ", procedure=" + procedure
				+ ", number=" + number + ", productType=" + productType
				+ ", productState=" + productState + ", reviewTimes="
				+ reviewTimes + ", reviewDate=" + reviewDate
				+ ", rejectReason=" + rejectReason + ", publishTime="
				+ publishTime + "]";
	}


}

